package com.wealth.scsj.p_app.utils;

import android.content.Context;
import android.content.Intent;

import com.wealth.scsj.p_app.view.activity.IncomActivity;
import com.wealth.scsj.p_app.view.activity.MyWalletActivity;
import com.wealth.scsj.p_app.view.activity.EnrolmentPageActivity;
import com.wealth.scsj.p_app.view.activity.MinePageActivity;
import com.wealth.scsj.p_app.view.activity.ServicePointsDetailsActivity;
import com.wealth.scsj.p_app.view.activity.bankcardmodel.AddBankCardPicActivity;
import com.wealth.scsj.p_app.view.activity.bankcardmodel.VerificationCardActivity;
import com.wealth.scsj.p_app.view.activity.depositmodel.DepositHomePageActivity;
import com.wealth.scsj.p_app.view.activity.identity.RealNameAuthenticationShowActivity;
import com.wealth.scsj.p_app.view.activity.OrderDetailActivity;
import com.wealth.scsj.p_app.view.activity.SurveyFeedbackActivity;
import com.wealth.scsj.p_app.view.activity.TotalOrderActivity;
import com.wealth.scsj.p_app.view.activity.loginmodel.ForgetPasswordActivity;
import com.wealth.scsj.p_app.view.activity.loginmodel.LoginActivity;
import com.wealth.scsj.p_app.view.activity.loginmodel.RegisterActivity;
import com.wealth.scsj.p_app.view.activity.novicetraining.NoviceTrainingPageActivity;
import com.wealth.scsj.p_app.view.activity.payment.ChangePaymentPasswordActivity;
import com.wealth.scsj.p_app.view.activity.payment.NewRetrievePasswordActivity;
import com.wealth.scsj.p_app.view.activity.payment.PaymentSettingsActivity;
import com.wealth.scsj.p_app.view.activity.payment.WithdrawalRecordActivity;
import com.wealth.scsj.p_app.view.activity.setting.AuthenticationActivity;
import com.wealth.scsj.p_app.view.activity.setting.ChangeLoginPasswordActivity;
import com.wealth.scsj.p_app.view.activity.setting.MyQRCodeActivity;
import com.wealth.scsj.p_app.view.activity.setting.RuleDescriptionActivity;
import com.wealth.scsj.p_app.view.activity.setting.SetNewPhoneNumberActivity;
import com.wealth.scsj.p_app.view.activity.setting.SettingActivity;
import com.wealth.scsj.p_app.view.activity.wallet.CashBalanceActivity;

/**
 * 跳转APP
 */

public class SkipUtils {


    /**
     * 忘记密码页面
     */
    public static void toForgetPswdPage(Context mContext) {
        Intent intent = new Intent(mContext, ForgetPasswordActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 登录页面
     */
    public static void toLogin(Context mContext) {
        Intent intent = new Intent(mContext, LoginActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 注册
     */
    public static void toRegisterPage(Context mContext) {
        Intent intent = new Intent(mContext, RegisterActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 意见反馈页面
     */
    public static void toSurveyFeedbackPage(Context mContext) {
        Intent intent = new Intent(mContext, SurveyFeedbackActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 账单记录页面
     */
    public static void toWithDraw(Context mContext) {
        Intent intent = new Intent(mContext, WithdrawalRecordActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 订单详情
     */
    public static void toOrderDetail(Context mContext) {
        Intent intent = new Intent(mContext, OrderDetailActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 跳转到我的二维码页面
     *
     * @param mContext
     */
    public static void toMyQRCode(Context mContext) {
        Intent intent = new Intent(mContext, MyQRCodeActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 跳转到规则说明页面
     *
     * @param mContext
     */
    public static void toRuleDescription(Context mContext) {
        Intent intent = new Intent(mContext, RuleDescriptionActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 跳转到规则说明页面
     *
     * @param mContext
     */
    public static void toChangeLoginPassword(Context mContext) {
        Intent intent = new Intent(mContext, ChangeLoginPasswordActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 手机验证身份
     */
    public static void toAuthentication(Context mContext) {
        Intent intent = new Intent(mContext, AuthenticationActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 全部订单
     */
    public static void toTotalOrder(Context mContext) {
        Intent intent = new Intent(mContext, TotalOrderActivity.class);
        mContext.startActivity(intent);
    }

    public static void toSetNewPhoneNumber(Context mContext, String oldPhone, String oldSmsCode) {
        Intent intent = new Intent(mContext, SetNewPhoneNumberActivity.class);
        intent.putExtra("oldPhone", oldPhone);
        intent.putExtra("oldSmsCode", oldSmsCode);
        mContext.startActivity(intent);
    }

    /**
     * 查看实名认证信息
     *
     * @param mContext
     */
    public static void toRealNameAuthenticationShow(Context mContext) {
        Intent intent = new Intent(mContext, RealNameAuthenticationShowActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 个人中心
     */
    public static void toMinePage(Context mContext) {
        Intent intent = new Intent(mContext, MinePageActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 新手培训
     */
    public static void toNoviceTraining(Context mContext) {
        Intent intent = new Intent(mContext, NoviceTrainingPageActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 报名开通
     */
    public static void toEnrollWork(Context mContext) {
        Intent intent = new Intent(mContext, EnrolmentPageActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 跳转服务分明细详情
     */
    public static void toServicePointsDetails(Context mContext) {
        Intent intent = new Intent(mContext, ServicePointsDetailsActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 钱包
     */
    public static void toMyPurse(Context mContext) {
        Intent intent = new Intent(mContext, MyWalletActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 设置
     */
    public static void toSetting(Context mContext) {
        Intent intent = new Intent(mContext, SettingActivity.class);
        mContext.startActivity(intent);
    }
    /**
     * 跳转押金首页
     */
    public static void toDepositHomePage(Context mContext) {
        Intent intent = new Intent(mContext, DepositHomePageActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 我要提现
     * @param mContext
     */
    public static void toCashBalabce(Context mContext) {
        Intent intent = new Intent(mContext, CashBalanceActivity.class);
        mContext.startActivity(intent);
    }
    /*
     * 押金
     */
    public static void toDeposit(Context mContext) {
        Intent intent = new Intent(mContext, DepositHomePageActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 预计收益
     */
    public static void toIncom(Context mContext) {
        Intent intent = new Intent(mContext, IncomActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 修改支付密碼
     */
    public static void toChangePaymentPwd(Context mContext) {
        Intent intent = new Intent(mContext, ChangePaymentPasswordActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 确认密码
     */
    public static void toRetrievePaymentPwd(Context mContext) {
        Intent intent = new Intent(mContext, NewRetrievePasswordActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 我要提现
     */
    public static void toBillDetailsPage(Context mContext) {
        Intent intent = new Intent(mContext, WithdrawalRecordActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 支付设置
     */
    public static void toPaySetting(Context mContext) {
        Intent intent = new Intent(mContext, PaymentSettingsActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 验证银行卡信息
     *
     * @param mContext
     */
    public static void toVerificationCard(Context mContext) {
        Intent intent = new Intent(mContext, VerificationCardActivity.class);
        mContext.startActivity(intent);
    }

    /**
     * 添加銀行卡
     */
    public static void toAddBankCard(Context mContext) {
        Intent intent = new Intent(mContext, AddBankCardPicActivity.class);
        mContext.startActivity(intent);
    }
}
